package com.example.courseselection;

public class Course {
	    // 属性
	    private String courseId;    // 课程编号
	    private String courseName;  // 课程名称
	    private String location;    // 上课地点
	    private String time;        // 上课时间
	    private String teacherId;   // 授课教师编号

	    // 构造方法
	    public Course(String courseId, String courseName, String location, String time, String teacherId) {
	        this.courseId = courseId;
	        this.courseName = courseName;
	        this.location = location;
	        this.time = time;
	        this.teacherId = teacherId;
	    }

	    // Getter和Setter方法
	    public String getCourseId() {
	        return courseId;
	    }

	    public void setCourseId(String courseId) {
	        this.courseId = courseId;
	    }

	    public String getCourseName() {
	        return courseName;
	    }

	    public void setCourseName(String courseName) {
	        this.courseName = courseName;
	    }

	    public String getLocation() {
	        return location;
	    }

	    public void setLocation(String location) {
	        this.location = location;
	    }

	    public String getTime() {
	        return time;
	    }

	    public void setTime(String time) {
	        this.time = time;
	    }

	    public String getTeacherId() {
	        return teacherId;
	    }

	    public void setTeacherId(String teacherId) {
	        this.teacherId = teacherId;
	    }
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
